<template>
	<view class="" style="padding: 32rpx 15rpx">
		<rich-text :nodes="content"></rich-text>
	</view>
</template>
<script>
	import {My} from '../../apirequest/my-model.js';
	var m = new My();
	export default {
		data() {
			return {
				content:'',
				id:0
			}
		},
		onLoad(options) {
			this.id = options.id
			this._index()
		},
		methods: {
			_index(){
				var that = this;
				m.get_agree({id:this.id},(res) => {
					if(res.code == 1){
						that.content = res.data
					}
				})
			},
		},
	}
</script>

<style>
</style>